<?php
/**
 * The connection of a attribute with another from other entity 
 *
 */
class DBMRelationshipConnection {
	/**
	 * The source attribute name
	 *
	 * @var string
	 */
	private $sourceAttribute;
	
	/**
	 * The target attribute name
	 *
	 * @var string
	 */
	private $targetAttribute;
	
	/**
	 * Return the source attribute
	 *
	 * @return string
	 */
	public function getSourceAttribute(){
		return $this->sourceAttribute;
	}
	
	/**
	 * Return the target attribute
	 *
	 * @return string
	 */
	public function getTargetAttribute(){
		return $this->targetAttribute;
	}
	
	/**
	 * Set the source attribute
	 *
	 * @param string $sourceAttribute
	 */
	public function setSourceAttribute($sourceAttribute){
		$this->sourceAttribute = $sourceAttribute;
	}
	
	/**
	 * Set the target attribute
	 *
	 * @param string $targetAttribute
	 */
	public function setTargetAttribute($targetAttribute){
		$this->targetAttribute = $targetAttribute;
	}
}

?>